package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IReservationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;



@Component("reservationJob")
@Slf4j
public class ReservationJob {
    @Autowired
    private IReservationService reservationService;
    public void updateReservationStatusJob(){
        reservationService.updateReservationStatusJob();
        log.info("定时更新预约信息状态成功！");
    }
}
